<!--
 * @Description: 
 * @Autor: ZachGmy
 * @Date: 2021-06-22 08:38:13
 * @LastEditors: ZachGmy
 * @LastEditTime: 2021-06-22 08:39:33
-->
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <!-- 通过script标签引入 -->
  <script src="./hello.js"></script>
</head>

<body>
  <script>
    // js代码
    console.log('hello js');
  </script>
</body>

</html>